public class Diver extends Person {
    private String certification;

    public Diver(String name, int age, String certification) {
        super(name, age);
        this.certification = certification;
    }

    public void dive() {
        System.out.println(this.getName() + " is diving with certification: " + certification);
    }

}